package com.haoma.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.haoma.entity.PhotoCategory;
import com.haoma.mapper.PhotoCategoryMapper;
import com.haoma.service.PhotoCategoryService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Description:
 */
@Service
public class PhotoCategoryServiceImpl extends ServiceImpl<PhotoCategoryMapper, PhotoCategory> implements PhotoCategoryService {

    /**
     * 获取所有的分类
     *
     * @return
     */
    public List<PhotoCategory> getCategory() {
        List<PhotoCategory> list = list();
        return list;
    }
}
